package tech.aichan.AiQA.model.dto.user;

import tech.aichan.AiQA.common.ESPageRequest;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import tech.aichan.AiQA.common.PageRequest;

/**
 * @author mengyu
 * @date 2024/03/03 9:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserQueryRequest extends PageRequest implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 用户角色：user/admin/ban
     */
    private String userRole;

    @Serial
    private static final long serialVersionUID = 1L;
}